package cn.jboa.dao.impl;

import cn.jboa.dao.ClaimVoucherDao;
import cn.jboa.entity.BizClaimVoucher;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

@Repository("claimVoucherDao")
public class ClaimVoucherDaoImpl extends BaseHibernateDaoSupport<BizClaimVoucher> implements ClaimVoucherDao {
    public ClaimVoucherDaoImpl(){}

    @Autowired
    public ClaimVoucherDaoImpl(@Qualifier("sessionFactory")SessionFactory sessionFactory){
        this.setSessionFactory(sessionFactory);
    }
}
